package zuoye3;

public class Test {

	public static void main(String[] args) {
		Printer v1 = new DotMatrixPrinter();
		Printer v2 = new LaserPrinter();
		Printer v3 = new InkpetPringter();

		Master v=new Master();
		v.feed(v1);
		v.feed(v2);
		v.feed(v3);
	}
}
